package com.ssy.lingxi.enhance.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 中止 - DTO
 * @author fhj
 * @date 2021/05/24
 * @version 2.0.0
 */
@Data
public class DiscontinueDTO {

    @NotNull(message = "ID不能为空")
    @ApiModelProperty(value = "ID")
    private Long id;

    @NotNull(message = "中止时间不能为空")
    @ApiModelProperty(value = "中止时间")
    private Long discontinueTime;

    @NotBlank(message = "原因不能为空")
    @ApiModelProperty("原因")
    private String cause;
}
